TEMPLATE = app
CONFIG += console c++17
CONFIG -= app_bundle
CONFIG -= qt

DEFINES +=PROTOBUF_USE_DLLS

SOURCES += \
    ../Logger/Logger.cpp \
    Person.pb.cc \
    main.cpp

HEADERS += \
    ../Logger/Logger.h \
    Person.pb.h

win32 {
    SPDLOG_SDK = D:/SDK/spdlog/
    PROTOBUF_SDK = D:/SDK/protobuf/
}

# spdlog
INCLUDEPATH += $${SPDLOG_SDK}/include

# protobuf
INCLUDEPATH += $${PROTOBUF_SDK}/include
LIBS += -L$${PROTOBUF_SDK}/lib -lprotoc -lprotobuf -lprotobuf-lite
